/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Personagem;

/**
 *
 * @author Administrador
 */
public class Personagem {

	private String name;
	private int score;

	public Personagem()
	{

	}

	public Personagem(String name, int score)
	{
		super();
		this.name = name;
		this.score = score;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getScore() {
		return score;
	}

	public void setScore(int score) {
		this.score = score;
	}
        public int addScore(int score){
            this.score += score;
            return this.score;
        }

}